.class Lcom/niceapp/lib/tagview/TagListView$1;
.super Ljava/lang/Object;
.source "TagListView.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/niceapp/lib/tagview/TagListView;->inflateTagView(Lcom/niceapp/lib/tagview/Tag;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/niceapp/lib/tagview/TagListView;

.field final synthetic val$tag:Lcom/niceapp/lib/tagview/Tag;


# direct methods
.method constructor <init>(Lcom/niceapp/lib/tagview/TagListView;Lcom/niceapp/lib/tagview/Tag;)V
    .registers 3
    .param p1, "this$0"    # Lcom/niceapp/lib/tagview/TagListView;

    .prologue
    .line 135
    iput-object p1, p0, Lcom/niceapp/lib/tagview/TagListView$1;->this$0:Lcom/niceapp/lib/tagview/TagListView;

    iput-object p2, p0, Lcom/niceapp/lib/tagview/TagListView$1;->val$tag:Lcom/niceapp/lib/tagview/Tag;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .registers 5
    .param p1, "buttonView"    # Landroid/widget/CompoundButton;
    .param p2, "isChecked"    # Z

    .prologue
    .line 139
    iget-object v0, p0, Lcom/niceapp/lib/tagview/TagListView$1;->val$tag:Lcom/niceapp/lib/tagview/Tag;

    invoke-virtual {v0, p2}, Lcom/niceapp/lib/tagview/Tag;->setChecked(Z)V

    .line 140
    iget-object v0, p0, Lcom/niceapp/lib/tagview/TagListView$1;->this$0:Lcom/niceapp/lib/tagview/TagListView;

    # getter for: Lcom/niceapp/lib/tagview/TagListView;->mOnTagCheckedChangedListener:Lcom/niceapp/lib/tagview/TagListView$OnTagCheckedChangedListener;
    invoke-static {v0}, Lcom/niceapp/lib/tagview/TagListView;->access$000(Lcom/niceapp/lib/tagview/TagListView;)Lcom/niceapp/lib/tagview/TagListView$OnTagCheckedChangedListener;

    move-result-object v0

    if-eqz v0, :cond_1a

    .line 141
    iget-object v0, p0, Lcom/niceapp/lib/tagview/TagListView$1;->this$0:Lcom/niceapp/lib/tagview/TagListView;

    # getter for: Lcom/niceapp/lib/tagview/TagListView;->mOnTagCheckedChangedListener:Lcom/niceapp/lib/tagview/TagListView$OnTagCheckedChangedListener;
    invoke-static {v0}, Lcom/niceapp/lib/tagview/TagListView;->access$000(Lcom/niceapp/lib/tagview/TagListView;)Lcom/niceapp/lib/tagview/TagListView$OnTagCheckedChangedListener;

    move-result-object v0

    check-cast p1, Lcom/niceapp/lib/tagview/TagView;

    .end local p1    # "buttonView":Landroid/widget/CompoundButton;
    iget-object v1, p0, Lcom/niceapp/lib/tagview/TagListView$1;->val$tag:Lcom/niceapp/lib/tagview/Tag;

    invoke-interface {v0, p1, v1}, Lcom/niceapp/lib/tagview/TagListView$OnTagCheckedChangedListener;->onTagCheckedChanged(Lcom/niceapp/lib/tagview/TagView;Lcom/niceapp/lib/tagview/Tag;)V

    .line 143
    :cond_1a
    return-void
.end method
